package com.onesports.intelligent.k12.polarlight.domain.vo.operation;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.Instant;

/**
 * @author wangcx
 **/
@Data
@ApiModel("运营端消息通知VO")
public class PageOperationMessageVO {

    @ApiModelProperty(value = "消息id")
    private String id;

    @ApiModelProperty(value = "消息内容")
    private String content;

    @ApiModelProperty(value = "消息标题")
    private String title;

    @ApiModelProperty(value = "是否已读")
    private Boolean read;

    @ApiModelProperty(value = "发送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Instant sendTime;

    @ApiModelProperty(value = "未读数量")
    private Long noReadNumber;




}
